package reflection.Test;

/**
 * @program: javase
 * @description:
 * @author: luolidong
 * @create: 2021-07-02 16:03
 * @version: 1.0
 */
public class Son extends Father {
    private int age;

    public Son() {
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Son{" +
                "age=" + age +
                '}';
    }
}
